/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bacoopc.gui;

import java.util.logging.Handler;
import java.util.logging.LogRecord;

/**
 * Classe para publicar as mensagens de log.
 *
 * @author CrisGC
 */
public class ManipuladorLog extends Handler {

    @Override
    public void publish(LogRecord record) {
        System.out.println(record.toString());
        this.flush();
    }

    @Override
    public void flush() {
        System.out.flush();
    }

    @Override
    public void close() throws SecurityException {
        System.out.close();
    }

}
